import type {Route}          from '../index.type'
import Layout                from '@/layout/index.vue'
import {createNameComponent} from '../createNode'

const route: Route[] = [
    {
        path     : '/',
        component: Layout,
        redirect : '/dashboard',
        meta     : {title: '主题公园运营状态监测', icon: 'sfont system-home'},
        children : [
            {
                path     : 'dashboard',
                component: createNameComponent(() => import('@/views/main/dashboard/index.vue')),
                meta     : {title: '公园概况', icon: 'sfont system-home', hideClose: true}
            }
        ]
    }
]

export default route
